Skip to main content

task invite

Command Title

/task invite

Description

This command allows you to set up an invite task that rewards users with points for inviting new members to your Discord server. You can configure the reward amount, daily limit, account age restriction, and minimum stay duration for invitees to earn rewards. This can be an effective way to incentivize members to invite their friends and grow your server community.

Usage

/task invite <reward> [daily_limit] [account_age] [stay_days]

Parameters

Required Parameters:

  • <reward>: The value must be a positive integer or 0. Setting 0 disables the reward.

Optional Parameters:

  • [daily_limit]: The maximum number of invites for which a user can earn rewards per day. Set to 0 or leave blank for no daily limit.
  • [account_age]: The minimum age (in days) of a new member's account for them to be eligible for invite rewards. Set to 0 or leave blank for no age restriction.
  • [stay_days]: The number of days a new member must stay in the server. Rewards will be reduced if he leaves the server before the specified time. Set to 0 or leave blank for no stay duration requirement.

Examples

  • Example 1: Set a task that rewards users with 10 points for each invite, with no daily limit, no account age restriction, and a 7-day stay requirement:

    /task invite reward:10 stay_days:7
  • Example 2: Disable the invite task:

    /task invite reward:0 stay_days:7
  • Example 3: Set a task that rewards users with 5 points for each invite, with a daily limit of 10 invites, an account age restriction of 30 days, and no stay duration requirement:

    /task invite reward:5 daily_limit:10 account_age:30

Notes

  • Users can only earn rewards for inviting unique new members to the server.
  • The daily limit will reset at 0:00 in the time zone set for the robot.
  • If an invited member leaves the server before meeting the stay duration requirement, the inviter's reward will be deducted.

FAQs

  • Q: Can I set up multiple invite tasks with different reward amounts and limits?

    A: No, you can only have one active invite reward task at a time. Creating a new invite reward task will override any existing task.

  • Q: Can I track invites for specific channels?

    A: No, the invite task tracks invites regardless of the channel in which the invite link was sent.

  • Q: What happens if a user invites more members than the daily limit?

    A: If a user invites more people than the daily limit, they will only receive rewards for up to the specified number of invites. Any additional invites will not count towards the reward for that day.

  • Q: What happens if an invited member leaves the server before the stay duration?

    A: If an invited member leaves the server before meeting the specified stay duration requirement, the inviter's reward points will be deducted. This is to prevent abuse of the invite system.